<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>无穷大（Infinity）-2</title>
</head>

<body>
    <!-- 除以0也产生了无限: -->
    <script>
        var x = 2 / 0;
        var y = -2 / 0;
        document.write(x + "<br />");
        document.write(y + "<br />");
    </script>
</body>

</html>